package com.huangyong.controller;

import java.util.List;

import javax.servlet.http.HttpSession;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import com.huangyong.entity.Article;
import com.huangyong.entity.Comment;
import com.huangyong.entity.User;
import com.huangyong.service.CommentService;

@Controller
@RequestMapping("/comment")
public class CommentController {
	
	@Autowired
	private CommentService commentService;

	@RequestMapping(value="allCommentByArticle")
	public String AllCommentByArticle(HttpSession session,@PathVariable("aid") int aid) {

		return "/admin/article/allArticle";
	}
}
